//
//  Contact.h
//  SouthChina
//
//  Created by creator_lq on 14/12/3.
//  Copyright (c) 2014年 科创. All rights reserved.
//

#import "ORMRecord.h"

#define PK_ID @"PK_ID"
#define ID @"ID"
#define NAME @"NAME"
#define PROF_NAME @"PROF_NAME"
#define CLASS_NAME @"CLASS_NAME"
#define HEAD_IMG @"HEAD_IMG"
#define SEX @"SEX"
#define QP @"QP"
#define REF_ID @"REF_ID" // 如果是群 1 普通群 2 行政群
#define TYPE @"TYPE" //--成员类型 O 机构 S 学生 T 老师
#define DEPT @"DEPT"
#define OPERATE @"OPERATE"
#define IS_ACTIVATED @"IS_ACTIVATED"

#define CREATE_USER @"CREATE_USER"//
#define ORG_TYPE  @"ORG_TYPE"   //机构类型‘Group’ 群 'Chat' 讨论组'Organization' 统一通讯录
#define HAS_CHILD @"HAS_CHILD"  //是否有子机构   如果是群，1 代表管理员或创建者  0 普通成员
#define NJ @"NJ" //年级
@interface Contact : ORMRecord


@property(nonatomic,retain) NSString *mPK_ID;
@property(nonatomic,retain) NSString *mID;
@property(nonatomic,retain) NSString *mNAME;
@property(nonatomic,retain) NSString *mPROF_NAME;
@property(nonatomic,retain) NSString *mCLASS_NAME;
@property(nonatomic,retain) NSString *mNJ;
@property(nonatomic,retain) NSString *mHEAD_IMG;
@property(nonatomic,retain) NSString *mSEX;
@property(nonatomic,retain) NSString *mQP;
@property(nonatomic,retain) NSString *mREF_ID;
@property(nonatomic,retain) NSString *mTYPE;
@property(nonatomic,retain) NSString *mDEPT;
@property(nonatomic,retain) NSString *mOPERATE;
@property(nonatomic,retain) NSString *mIS_ACTIVATED;
@property(nonatomic,retain) NSString *mCREATE_USER;
@property(nonatomic,retain) NSString *mORG_TYPE;
@property(nonatomic,retain) NSString *mHAS_CHILD;





@end
